package mylibrary.thread.produce_consume;

public class GetEgg implements Runnable{

	private Plate plate;
	public GetEgg(Plate plate) {
		this.plate = plate;
	}
	
	public void run() {
		
		for(int i=0; i<5; i++) {
			plate.getEgg();
		}
	}
}
